package innerclass05;

public class Demo05 {
    public static void main(String[] args) {
        /*Student student = new Student();
        student.smoking();*/
        Smoke s = new Student();//父接口指向实现类对象//多态的形式
        s.smoking();
    }
}
